/var/log/ceph/*.log {
    rotate {{ ceph_logrotate_rotate | default(7) }}
    {{ ceph_logrotate_frequency | default('daily') }}
    compress
    copytruncate
    sharedscripts
    postrotate
        killall -q -1 ceph-mon ceph-mgr ceph-mds ceph-osd ceph-fuse radosgw rbd-mirror || pkill -1 -x "ceph-mon|ceph-mgr|ceph-mds|ceph-osd|ceph-fuse|radosgw|rbd-mirror" || true
    endscript
    missingok
    notifempty
    su root root
}
